package team.newexcellence.tsfitness.dao;

import org.springframework.stereotype.Repository;
import team.newexcellence.tsfitness.pojo.User;

@Repository
public interface UserDao {
    public Integer userLogin(String userPhone, String password) throws Exception;

    public Integer userRegister(User user, String code) throws Exception;

    public User userShow(int userID) throws Exception;

    public Integer userModifyInformation(int userID) throws Exception;

    public Integer userStatisticsAllTime(int userID) throws Exception;
}
